package at.ac.tuwien.mg.service;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;

import at.ac.tuwien.mg.bean.SupplierList;

public class GetSupplierList implements JavaDelegate {
	
		@Override
		public void execute(DelegateExecution de) throws Exception {
			de.setVariable("supplierList", new SupplierList().getSupplier());
			//set count of automaticRequests to zero
			de.setVariable("automaticRequests", 0);
		}
}
